package pattern.templete;

public abstract class Templete
{
	public final void templete()
	{
		abstractMethod();
		concreteMethod();
		hook();
	}
	
	abstract void abstractMethod();
	
	final void concreteMethod()
	{
		System.out.println("imply by father");
	}
	public void hook()
	{
		
	};
}
